package com.bootdo.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.bootdo.common.utils.Query;
import com.bootdo.common.utils.R;
import com.bootdo.wx.dao.LessonClassDao;
import com.bootdo.wx.domain.LessonClassDO;
import com.bootdo.wx.service.LessonClassService;



@Service
public class LessonClassServiceImpl implements LessonClassService {
	@Autowired
	private LessonClassDao lessonClassDao;
	
	@Override
	public LessonClassDO get(String id){
		return lessonClassDao.get(id);
	}
	
	@Override
	public List<LessonClassDO> list(Map<String, Object> map){
		return lessonClassDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return lessonClassDao.count(map);
	}
	
	@Override
	public int save(LessonClassDO lessonClass){
		return lessonClassDao.save(lessonClass);
	}
	
	@Override
	public int update(LessonClassDO lessonClass){
		return lessonClassDao.update(lessonClass);
	}
	
	@Override
	public int remove(String id){
		return lessonClassDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return lessonClassDao.batchRemove(ids);
	}

	@Override
	public List<Map<String, Object>> queryAllForIdAndName(HashMap<String, Object> hashMap) {
		return lessonClassDao.queryAllForIdAndName(hashMap);
	}

	@Override
	public List<LessonClassDO> likeList(Map<String, Object> map) {
		List<LessonClassDO> list = lessonClassDao.likeList(map);
		return list;
	}

	
}
